package com.ehome.poct.base.api.feign.device;

import com.ehome.core.page.Page;
import com.ehome.poct.base.api.dto.device.TestVersionRelationQry;
import com.ehome.poct.base.api.vo.device.TestDeviceVersionDataVO;
import com.ehome.poct.base.api.vo.device.TestVersionVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "poct-service-base", path = "/test_device_version_relation", contextId = "TestDeviceVersionRelationFeginClient")
public interface TestDeviceVersionRelationFeginClient {
    
    @GetMapping("/versionPage")
    public Page<TestDeviceVersionDataVO> page(@SpringQueryMap TestVersionRelationQry qry);
    
    @GetMapping("/getVersionData")
    public TestVersionVO getVersionData(@SpringQueryMap TestVersionRelationQry qry);
    
}
